Skip to main content

🔰 Basics

Better /help can show descriptions and other metadata for your commands or arguments. You do not need an API or soft dependency, only language keys in your mod.

How it works​

Add keys to your language files at:

assets/<mod_id>/lang/<lang>.json

For example: assets/examplemod/lang/en_us.json.

On server startup, Better /help scans installed mods for those keys. Translations are resolved server-side, so players do not need Better /help or your mod on the client for descriptions and metadata to appear in /help.

Use your real mod id

Better /help gets your mod id from the mod loader.

  1. Lang files go in assets/<your_mod_id>/lang/...
  2. If a key includes a mod id (prefix, homepage suffix, etc.), it must be that same id

A mismatched mod id in the path or key is ignored. Omitting the mod id from the key is allowed, but not recommended because of translation key conflicts.

Next steps​

Feedback​

If something does not work, the docs are unclear, or you have ideas for more metadata types, please open an issue on GitHub.